package cn.zwx.goods.svc.rpc.dto;

import lombok.Data;
import org.apache.dubbo.apidocs.annotations.RequestParam;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author zhangwenxue
 */
@Data
public class InsertCategoryAttrDTO {

    /**
     *类目id
     */
    @RequestParam(value = "类目id",description = "类目id",required = true)
    @NotNull(message = "类目id不能为空")
    private Integer categoryId;

    /**
     * 属性分类Id
     */
    @NotNull(message = "属性分类Id不能为空")
    @RequestParam(value = "属性分类Id",description = "属性分类Id",required = true)
    private List<Integer> attrIdList;
}
